home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Panorama / Panorama - Disk 28C (1988-04-27)(Pacific North-West Amigas Club)[WB].zip / Panorama - Disk 28C (1988-04-27)(Pacific North-West Amigas Club)[WB].adf / Txt / FBasic.txt < prev    next >
Text File  |  1988-03-27  |  7KB  |  157 lines

  1. #: 115277 S10/Programming
  2.     23-Mar-88  18:31:48
  3. Sb: #A New Basic
  4. Fm: Steven D. Kapplin 70055,1021
  5. To: All
  6.  
  7. For those who may be interested.  I saw an ad in the latest issue of
  8. Amazing Computing (Vol. 3 Num. 3) for a product called F-Basic from Delphi
  9. Noetic in Rapid City, SD.  After a phone call I decided to take a flyer on
  10. it so I bought it.  It's not yet a fully finished product, that is it
  11. doesn't implement everything -- random files are not available, it doesn't
  12. run from an icon, and it only supports 32 bit reals (these are reportedly
  13. available in the next version which is now under beta test).  The
  14. remarkable thing about this Basic is that it supports a RECORD structure,
  15. direct access to the DOS AND the cpu registers, has terrific string
  16. handling abilities, and last but not least is blazingly fast.  The standard
  17. sieve (not a souped up version like TDI's) runs in 3.8 sec.  The Savage
  18. benchmark runs at just about 4 sec.  Disk read/write is 10/14 sec to a
  19. floppy and half that to my hard disk (both 3/4 full).  I compared the
  20. savage benchmark with AmigaBasic, TrueBasic, Lattice C, and Aztec C.  None
  21. run remotely as fast (of course they use double precision, while F-Basic is
  22. single).  The compiler is also reasonable quick giving compile times
  23. competitive with those I have seen listed for Benchmark Modula.  If you are
  24. interested in a Basic (yep, some of us actually like to program in Basic),
  25. this product is worth a try at $79.95. I was definitely impressed.  I hope
  26. the next version adds most of the missing goodies.  The Basic dialect is
  27. mostly recognizable, but there are elements of the language which are more
  28. like Pascal, particularly variable typing, program layout, etc.
  29.  
  30. * Reply:        115347
  31.  
  32. #: 115347 S10/Programming
  33.     24-Mar-88  08:47:30
  34. Sb: #115277-#A New Basic
  35. Fm: Larry Phillips/SYSOP 76703,4322
  36. To: Steven D. Kapplin 70055,1021 (X)
  37.  
  38. Steven,
  39.   Could you tell us more about the compiled code? I was wondering primarily
  40. about the run-time support. Is the run time program a single file? Does it
  41. contain _all_ the possible support or just what's needed? Size of
  42. executable for small/medium/large programs?
  43.  
  44.   Any information would be appreciated.
  45.  
  46. -larry
  47.  
  48. * Reply:        115425
  49.  
  50. #: 115425 S10/Programming
  51.     24-Mar-88  18:55:12
  52. Sb: #115347-#A New Basic
  53. Fm: Steven D. Kapplin 70055,1021
  54. To: Larry Phillips/SYSOP 76703,4322 (X)
  55.  
  56. Well, Larry, let me see if I can address the questions.  Like most compiled
  57. Basics, F-Basic must have a run-time module available for the executable
  58. program.  Unlike AC-Basic, F-Basic cannot produce a completely standalone
  59. program.  F-Basic does not have a linker, so the run-time module cannot be
  60. linked to the program.  It is a single-pass compiler.  The run-time module
  61. is a single file occupying about 34k of disk space.  The compiled modules
  62. are about the size of a typical AC-Basic module, depending upon the amount
  63. of reserved storage.  For instance, the sieve program compiles to slightly
  64. over 9k, but 8k is the space reserved for the array.  So far, the run-time
  65. module must be in the directory with the executable, as far as I can tell. 
  66. I will be suggesting to the publishers that they consider placing the
  67. support files in the :s directory or a common directory that could be
  68. assigned.  That way the executable can reside anywhere on disk and still
  69. find the run-time support.  I have been closely reading the documentation
  70. about real numbers.  F-Basic implements reals as a 32 bit mantissa with a
  71. 16 bit exponent.  Thus, it achieves 9 digits of precision.  This is better
  72. than standard single precision, but not as good as double.  However, it is
  73. terribly fast.  One slight flaw I have discovered is the way it implements
  74. exponentiation.  It uses a function based upon the log of the number, so
  75. that you cannot exponentiate a negative number.  The log function will, of
  76. course, refuse to take the log of a negative number. I will try to
  77. encourage them to find a better algorithm, because many math operations
  78. exist which require exponentiation of negative values, particularly stat
  79. operations.  Hope this answers your question, Larry.
  80.  
  81. Steve
  82.  
  83. * Reply:        115445
  84.  
  85. #: 115445 S10/Programming
  86.     24-Mar-88  20:26:24
  87. Sb: #115425-#A New Basic
  88. Fm: Larry Phillips/SYSOP 76703,4322
  89. To: Steven D. Kapplin 70055,1021 (X)
  90.  
  91. Steve,
  92.   Is there any provision for writing code to sell or give away to someon
  93. who does not have the compiler? Is there a licence fee for the run time
  94. module or is it able to be distributed with the program you write.
  95.  
  96.  Thanks a bunch for the information so far.
  97.  
  98. -larry
  99.  
  100. * Replies:      115608, 115628
  101.  
  102. #: 115608 S10/Programming
  103.     25-Mar-88  21:14:42
  104. Sb: #115445-#A New Basic
  105. Fm: Lloyd W. Dull III 74555,736
  106. To: Larry Phillips/SYSOP 76703,4322 (X)
  107.  
  108. Larry,
  109.  
  110.         When I called them, they said that for pure PD stuff, there would
  111. be NO liscence fee for the Run Time. For ShareWare or Commercial programs,
  112. they are asking $10 per program (I *ASSUME* this means $10 for 1000 copies
  113. of the ONE program you are selling, but I forgot to get THAT specific).
  114.  
  115.         The "upgrade" will be a "seperate product" available at a "reduced
  116. cost".
  117.  They are also working on a source code debugger and some other interesting
  118. "products" that will be sold seperately.
  119.  
  120.         *I* ordered one.
  121.  
  122.         Lloyd
  123.  
  124. * Reply:        115632
  125.  
  126. #: 115632 S10/Programming
  127.     25-Mar-88  23:10:19
  128. Sb: #115608-A New Basic
  129. Fm: Larry Phillips/SYSOP 76703,4322
  130. To: Lloyd W. Dull III 74555,736
  131.  
  132. Thanks for the info Lloyd. Sounds like a winner for those that like Basic.
  133.  
  134. -larry
  135.  
  136. #: 115628 S10/Programming
  137.     25-Mar-88  22:25:46
  138. Sb: #115445-A New Basic
  139. Fm: Steven D. Kapplin 70055,1021
  140. To: Larry Phillips/SYSOP 76703,4322 (X)
  141.  
  142. Larry, yes there is a license fee of $10.00 for each program you sell or
  143. give away, because the program must be distributed with the copyrighted
  144. run-time module.  Of course source can be distributed free to those who
  145. have the compiler.  F-Basic has many features for direct access to the
  146. machine, much like C, Modula, etc.  Pointers, structures and direct calls
  147. to the Amiga libs.  I think, however, that the next version will provide
  148. new things not included yet.  It currently supports functions and
  149. subroutines and global and local declared variables and
  150. functions/subroutines.  Program comes with a disk full of example programs
  151. to help learn the language and most of its more sophisticated procedures. 
  152. Although it is a Basic, it has many commands and instructions which are
  153. similar to Pascal and Fortran. I am pretty impressed by what it provides
  154. for a Basic.
  155.  
  156. Steve
  157.